package com.aiti.lulian.service;

import com.aiti.base.core.base.service.BaseService;
import com.aiti.base.core.utils.message.Message;
import com.aiti.lulian.dto.crm.CrmListFieldConfigDto;
import com.aiti.lulian.entity.SysData;
import com.aiti.lulian.entity.crm.CrmListFieldConfig;
import com.aiti.lulian.vo.crm.CrmListFieldModuleVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface ICrmListFieldConfigService extends BaseService<CrmListFieldConfig> {

    Message addOrUpdateListFieldConfig(CrmListFieldConfigDto dto);

    List<CrmListFieldConfig> getListFieldConfig(String userId, String enterpriseId, String module);

    List<CrmListFieldModuleVo> getListConfigurableField(String userId, String enterpriseId, Page<SysData> page);
}
